#include <stdlib.h>
#include "iobot.h"

void iobot_destroy(iobot_t* bot)
{
	iobot_update_input(bot);
	iobot_clear_input(bot);
	iobot_clear_output(bot);

	free(bot);
}

